luci-app-firewall: further luci-rpc/getHostHints compatibility fixes
authorJo-Philipp Wich <[email protected]>
Thu, 3 Jun 2021 08:03:48 +0000 (10:03 +0200)
committerJo-Philipp Wich <[email protected]>
Sat, 12 Jun 2021 17:23:46 +0000 (19:23 +0200)
commit9660eedfda04ea16eedf000724a0e711171ff886
tree83c20b8507ea572701dc4977329a91f1eb39da69
parenta6a6d61d9cc0fb1e4050cc6267ae7ff445b91260
luci-app-firewall: further luci-rpc/getHostHints compatibility fixes

Rework some further code instances to fall back to the legacy ipv4/ipv6
properties if needed.

Fixes: c7b7b42cd3 ("treewide: Update JS using luci-rpc getHostHints")
Signed-off-by: Jo-Philipp Wich <[email protected]>
(cherry picked from commit dc0cfc642e42eefcac91bb965f9aa612089fad5d)
applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js